package com.pan.dao.freight;

import org.apache.ibatis.annotations.Mapper;

import java.sql.Timestamp;

@Mapper
public interface FreightDeleteDao{
    Integer deleteById(Long id);
    Integer deleteByCompany(String company);
    Integer deleteByCreateDate(Timestamp createDate);
    Integer deleteByStartDate(Timestamp startDate);
    Integer deleteByEndDate(Timestamp endDate);
    Integer deleteByFreightAmount(Double freightAmount);
    Integer deleteByStartDistrictId(Integer startDistrictId);
    Integer deleteByStartAddress(String startAddress);
    Integer deleteByEndDistrictId(Integer endDistrictId);
    Integer deleteByEndAddress(String endAddress);
    Integer deleteByFreightStatus(Integer freightStatus);
    Integer deleteByUserId(Long userId);
    Integer deleteByTel(Long tel);
}